package com.zrrd.innerClass;

/**
 * @author WanJl
 * @version 1.0
 * @title SuperClass
 * @description
 * @create 2024/3/31
 */
public class SuperClass {
    public void method(){
        System.out.println("我是外部类");
    }

    public static void main(String[] args) {
        new SuperClass(){
            @Override
            public void method() {
                System.out.println("我是匿名内部类");
            }
        }.method();
    }
}
